code clean on extractarticles plugin