fixed a GCM crash reported