fixing ms prefix checking