add pdf version and cleaned images