Delete directory to solve a problem