correcting excerpt plugin