pdf image bug fixed