fix: order of loading files