[SR-Users] proposed patch for the registrar module - crash fix