Improvement for POST array and Cookie duplication