Fix scale on set the current value

fix #874