remove deprecated attribute