dependency order bug