if first clause of the path is not exist it will throw an error