fix minor bug, return all boxes if searchtext == '' instead of undefined