Fix moninor command for python3