Merge pull request #134 from bohmber/master

fixed codeql errors