fixing byte-compiler warnings