fixed a ban check