Fixed bug with Msg

the message was repeated.