fix issues adding rates