resilience against ill formated path specs