Added a setting for case(sag)  expand