fixed up the sdl copies