fix the directory