fixed issue when no viewers could be created