switch root to search instead of status, cors before