add base64Decode and fix PutPolicy Expire

4991,4914