Fixed storage of cource type and a small fix to display it correct