fixed typos and copy&paste errors