Removed def to_s which was buggy. closes #171