fix compress middleware
fix path normalizing issue