fixed bug with search title not getting updated properly