fix write
pp_m
remove pos_t