Bugfix in Quiz-Complete function