clean check.py