fixed bug where stale things are not removed