Echo defined vars within loop - with later cut off