help and fixed missing viewer def