Fix manage inactivity