removed unnecessary fields in ptrdes_t and added support of empty unions