restore trailing ws fix