Fix the server sample