commit before messing up pathfinding