removing unnecessary code
ban middleware name change