fix arguments array for persist mode