re-add meta gc function to clear handler indices