check required columns