lecture creation bug fix ("throw" when error occurs)
add ppt pages variable