adapt to julia 0.3