finish rebuild namespace