adjust scale ratio