fix in decl_global_arrays