added a handler for INSUFFICIENTPRIVILEGESERROR