fixed --rev option on --seprepair in gather.py