small typos in the code.