Fixed a bug with the message inputs method