Rename scale to weightFactor.