fixed error on insert pdf file