lib convert to tabs