Fixed invalid character and undeclared function.