fix ordering constraint between setup hooks