fix load path and dep order