fixed bugs after renamed namespace