minor big fix

Fixed minor bug with usage of scale.