fixed max user count check