Fix $COOKIE

I swear, I have no idea how I get payed to do stuff like this