fixes hand shake server