fix for sdl (nw)