fix for 0.8.0 vs 0.7.0
Merge pull request #141 from obviousjim/develop-reza

fix for 0.8.0 vs 0.7.0