Fix for responding to html when adding papers