fix column assignment