adapt to MALDIquant 1.8