remove extra scale attribute