fixed __repr__ bug