Fix typos in lib