changed magicks to sdl special variables