fixed warnings
Merge pull request #23 from ilya-lavrenov/warnings