AES encrypted data had been padded using PKCS5 method. Unpad that data properly when decrypting.