Added fix.py
Improved fix.py