fixing verify script to correct misplaced column references