fix problem with deleted rights objects