fixed end of input @ server