fixed path bug