fix tsrmls for 5.2