use new gcm package
fix log usage