fixed path bugs