Remove cookie rewrite part