some commits for chat input field utility