fail in chat.js