fixed bad repr method