Fixed typos/errors in input chapter