finally fixed searchbox