fixing bug when changing slides during audio processing