fixed some typos in the python code