bug fixes to dsp loop and param handling