fixing bug show.js