Fixed issue with static code analysis