server fixed

add a writeln to prevent bug