Undid scale code