resetted patch.py to stable version