Fixed the lines that caused warnings when running in debug mode
Merge pull request #53 from juskoljo/master

Fixed the lines that caused warnings when running in debug mode