temporary fix for urlsafe_base64 decode