modified clocdb slightly (no longer opens empty record)