added 404 if publications is not enabled