fix #234 and solved in 1.0.7
Merge pull request #235 from alshabib/1.0-MAINT

fix #234 and solved in 1.0.7