Got offsetof to function properly