check for null config