fixed first run stalling on linux