clean loader.py