fix forecast()