Solved trivial error that occurs when a course not exists