has error in fetchenum in detail.js