compatibility with latest julia