poly_string fixes, formatting for remainders