removed useless ban-function