adding null check in Base64Backport