fix def order