fix dependency on extension order