Fix a bug of exam in HomeView