fixed a NaN issue in box plot, return mean motif pvalue instead of median