add pdf format to checkHemiModification