calc fix

Signed-off-by: Tim Traver <ttraver@mivamerchant.com>