fix to make all missing directories recursively