fixing message error