avoid deprecation warning in Julia 0.3