Fixed error in pathing