Fixed PermitRegistrationDLL.Delete

Fixed PermitRegistrationDLL.Delete