bugfix InoGenerator

Signed-off-by: Yunchuan Wen <yunchuanwen@ubuntukylin.com>