fixes build errors