fix ms/state detection