fixed automatic course and date lookup