fix small error, add support the Enter key when search