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

Fixed the lines that caused warnings when running in debug mode