Fix the order of initialization of various defaults