some fixes to TDEffects