we need to pass strings to decode but bytes to b64