Fix sites exception management.