bugfixes if class report is not available, redirects correctly.