python package small fixes