fix a bug in genDecInfo judge