handling for not existing paths