Fix diagnostic.