# Negative open PR count persists

**URL:** <https://forum.gitea.com/t/negative-open-pr-count-persists/5061>\
**Category:** Install/Maintain/Configure\
**Created:** [April 20, 2022, 10:55am UTC](https://forum.gitea.com/t/negative-open-pr-count-persists/5061 "2022-04-20T10:55:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kricka91](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/kricka91/32/2576_2.png) [@kricka91](https://forum.gitea.com/u/kricka91)\
**Post date:** [April 20, 2022, 10:55am UTC](https://forum.gitea.com/t/negative-open-pr-count-persists/5061/1 "2022-04-20T10:55:08Z")

</div>

I have somehow been able to close a pull request twice, which results in an incorrect (negative) count of open pull request. This issue has supposedly been fixed in the code ([Fix repository's pull request count error by lunny · Pull Request #7518 · go-gitea/gitea · GitHub](https://github.com/go-gitea/gitea/pull/7518)), but after I upgraded to Gitea 1.16.5 and migrating the data, the incorrect negative count still shows. Will this be automatically fixed after opening or closing a new pull request, or should it have been corrected when migrating the database data? Or what do I need to do in order to correct this?
