Fix bug with try statment in msg parse