Fix the issue found in the static analysis