fixed issue #1127
Merge pull request #1196 from ne0fhyk/fix_issue_1127

Fixed issue #1127