corners in searchagent.py updated