remove deprecated var