fixing minor bugs in search dropdown