fixes ms vs second issue