fix open-layout on windows