search variable by Enter key