solving build errors