Minor changes of ValidatePath( )