fix typos
finish chained tracking support for libraries