fixed lib.call for python2-3 compatability
merging fix