Fixed problem with scales