fix type and remove column