fix app4 on windows