scale and skew bug fixed