catch when unpublishing fails