strip extra new-lines from ping values