fixed custom footer line ending and replace operation's text backgrounds