Fix constraints
Merge pull request #2 from nikita-volkov/master

Fix constraints