to make enumtypesproc ok