Fix bug on scale