fix bug where response sometimes has a trailing \n,
1.0.4