added error pages to publisher