remove undefined function
remove error for trying eval code into the global namespace.