fixed cat/echo statement