removes old and used data