correcting build errors