fixing bug that would prevent cookies from posting