remove unused entries