Fixed wrong codes in BAD AE_BAD1