fixed to_string nonsense