fixed variable in activate