bug fix for loading empty viewers
bug fix for loading empty viewers