Temporary fix for path finding.