fixed path rewrites