reimplemented offsetof