exp calculation fix