Fix code analysis issue