fix a bug
modify directories