before rebuild namespace