Cleanup of atom table