Fixed py3 issue with arg inspection