scale not used bug fixed