Fix order of deps