Fix flax properly