clean up removed unneeded arrays