Fixed the bug that only the first PDF in the folder is converted