added pdf and fixed clean