fix bug on levaing active