Netwroking problem fixed code