bug in decrypt of aam