corrected sdl module