Fix Some bug about DI And DO