fix gem build warning