resolve namespace build errors