fixed an error regarding insertGCMKeys, impl checkString