Corrected minor bugs caused by commenting out cleanCase in cylinder_AMI