add scale to onChange callback