before renaming tables