enhance check config