Typo
Correct the messages array format