fixed bugs with usermessage