Ranieri admits to refereeing errors