running on allpats.nex reveals a bug