Fix echo loop contents