Adding Alert to getlecture & Minor Fixes