Fixed a bad formula