fix user definition type problem