fixed errors after message.display