fixed wrong AES initialization