add python-mode
small bug fix
merged with branch
small bug fix