fix column renaming bug