data: remove trailing new line