remove unnecessary cookie usage