fix ed sdl