fixing yet another mistake in ordering