better removing of gems