add fallback for non existing directory