fixing bug in AmplitudeSetup, when saving flatte resonances