fixes row and column