base64: remove unneeded suffix