fix the create lecture issue