Fix warnings
Merge pull request #28 from dmpro2014/bugfix

Fix warnings