fixed bug where gn was missing