Fix bug with loading message data