fix player coins unchanged bug