chore: remove useless middleware