betetr config file checking