fixed path handling issue