Fixed gem warnings