rename IfThenElse / lms conflict
harmonize check flags in lms/lir