Fix variable type.