padding handling in base64_decode