Fix static analysis problem