fixed build errors

fixed errors