Fix typo and global var

Test Plan: http://exercises.ka.local/utils/test

Auditors: peter