fixed __repr__ for constants