bug in condition fixed
Merge pull request #5 from dmamonov/patch-1

bug in condition fixed