fixed a small bug in SDL_Program