fixed path checking