fix run for linux and windows