correcting directory