fix send-with-enter bug