Another bug in GDM.r