fix with_example
fix issue with defining args in python3