fix ms-class BUG