Fix bug with tariffs