remove "const" qualifier from the type of a scalar