fixed gentop

Change-Id: Idc31403103f81ebff20e575dcf7b09a288efeffc