Refine the struct-ptr to make it simple