fixing command for ag search