fixing byte-compile errors