add clear box, refactor, fix suggestion box show/hide