remove template files
see if this changes the way images are embedded in pdf