fixed data type errors, globals can only bind to addresses, but local environment can also bind to primitives