IDM-72 trim rc and new line characters in secret field