solved bug on client disconnect