fix MMR search term and x appears on search box on refresh