Bugfix for gamma node generation.