fix null pointer on RigaDistinta edit