pathing bugfix