Fix gcm server bug in last commit