fix (Config.php) offset exists check