fixing set_cookie