removing references to gmp