fixed bug where reduced resist was divided by 100 twice instead of only once.