offsetof fix