fixes for creating UDTTs for tables with default values