fixed cat EOF