fix to inspire-server.js