modify some struct def