fixed path parsing