fixed compile error (size_t Variant) and work on variables in TDL (in progress)