fix for viewing