correcting the directory structure