fixed errors from gem build