tax rate changes in in distribution lines of invoice from what is set in the allocation template.

After entering an invoice that has multiple distribution lines (because I inserted a preset allocation table), when I hit accept invoice, all on the rate rates change to something different than what I have set up in the allocation table.   How can I get them to stop changing?