Error converting to int. tariffs