fix typos and missing dependancies