fixing broken assets.py file