fixing app-run in windows.