added init globals from symtab