Fix GCM crash