[server] small server bug fix