add cookie arg handler