fixed bug in lead series compression option