fixing build errors, invalid types missing *