function plot: fix includes