fix dep order