check config first