scaling fix2