fixed output error
added const2gbl, loc2loc and gbl2gbl