fix the directory structure