fixed bug in code
Merge pull request #3 from EcoForecast/master

fixed bug in code