fix scaling (second time through)