fix #398 search in navbar on enter