error handling when you don't select any officer or question