adapt to MALDIquant 1.7