change maxresult to 500