fixed base64 encode and decodeTable