fixed path prefix handling