trying to solve problems in base64decode()