fix column span check