issue #120; Base64 decoding bug fixed