change to remove () for group name, and added the exception print