Fix the undefined msg used in random phrase