fix dimensions by scale