making sr more robust, fixing cls and adding stop time to rml