Correcting wrong path