solves variable column number issue