Remove pront from middleware