fix for pub viewing