fix for non-existing folders