portal cleanup