fixes lecture delete, closes #1