temporary solution to save the sdl file