changed dependency order at foreman discovery