Reactions calculator fix