fix missing semicolons
avoid coerce in math1 when possible
fix typo
speed tweek in set_var_in_frame