fixing hSearch