fixed path validating