removed lock on scaling