erase curosr_offsetof and try to add test for anonymous struct