scaling problems fixed