change summary cutoff to a plugin