fix bug(detail.js)