bug fix in odds calculator