trying to display courses...unexpected error