fixed goldmine bug