rearrange fields with init_fields