set course->visible to some default if it is not set already