Fix style of error message for undefined variables