fix in ExternalAtoms