fix a wrong formula