I out commented code related prescribing lai and height for which the switch was not properly implemented and caused issue on obelix
DSG