fix some typos and arguments