correcting the path