fix #776 top: could not search by enter key