fixed error in mysql bans