fixed warnings
Merge pull request #31 from ilya-lavrenov/warn_fix