remove sent message from input