small clean up of ban command