if rep obj return is null, return empty array