correcting the root path