fixed some issues with required degree from delete course and alike