FIX: do not remember pad in legend