Form eval fix

Changelog:
* using is_a?(Symbol) instead of eval, for a safer implementation