fix that pesky divide by 0 error