fix badge count