quick and dirty fix to findpath endless loop issues