fixed compile error in GenerationHelper

Change-Id: I09cb67502e8c5d2223cb485a048c8a0531d7234e