treat parsing config in array containing function