solve issue discussed [here](https://github.com/github/codeql-coding-standards/pull/39#discussion_r945685947)
solve issue discussed here