aes not fully working