fix errors in slides.py because of badly refactored import