fixed boxselect bug