Fixing the issues with the excerpt plugin