fixed issue reported
Merge pull request #3 from lmcdev/r#1

fixed issue reported