fixed destroing not well constructed analize object fixed wrong detection of unions in derived tables