Fixed error where message was not empty initially