Fix missed error on renaming