added topresult to search
fixed topresult