Trying to track bug in sstream