correcting paths