changes related to python module

Some errors in python module were cheked