fix for discovery pages