fixed bugs with the result loading for name search