fixed bug with multiple forms in search result