corrected bug found by minhaz
Merge pull request #45 from rash805115/master

corrected bug found by minhaz