fix chat enter key press problem