RSA: remove extra new line