fix CKANAPIError use and repr again