sdl fixes