fix issues found in seminar