bug fix for prediction calculator
 Please enter the commit message for your changes. Lines starting