fixed bugs with refreshing a deadlineMode exam