fix random phrase assignment. Closes #34