fixed bug in message line