Done merging. Getting an error when converting to pdf