removes unnecessary gem