troubleshooting server and client