Fixed the Message Box bug