X14: force typecasting for the amount value on set