treat parsing config in array