fixing byte compile warnings