better guard against 404'd content on the server when publishing