make sure the directory is present