Not correctly working server