correcting directory structure