Fixed Scalar[int] bug