remove references to labeled arrays