fix guest.js