try to get cookie in complete