Fixed error in ban methods