fixed stringstream