build errors fixed