fixed missing image in pdf