scale option bug fix