make small modifications for plots