Bug fix with short lecturecodes