modify REVP/REVP.py