fixed server/client communication issue