fix gem setting

fix Engine