1. bug fix for hiding similar search window