set to_s on pstring