fixed errors on adding courses page'