check if the real_dir has been created