fix setcookie