remove old content in pathfinder.c for rebase