change __repr__ to avoid travis crash?