save params outside eval