incomplete exception pattern fixed