#18 minor bug for python