huge fix of modifier.py