fix case of directory