Fix for config check