base64 code snippet fix

Forgot to fix the variable.