fix coins bug