Correct columns to rows