monkey patched gset to make set() functions easier to read