Handling of some invalid paths