@gen.sync_engine fix