change position of AKE_SUCCESS call