remove main variable