slightly improved the shitty search