[viki] detect errors and fix formats extraction