fixed ostringstream