fix type checking error caused by match indented VarType with another type.