Restore scale as int type (instead of byte)