more heavy handed case statement for repo fixings