changed cookie lib