fix multiple exception handling syntax