fixed path check