fix bug for not having namespace in root