corrected ami configuration