bug fix for option sl and ml