modify the variable type error