fixed dependencies and some typos