fix scaled and fit modes