fix not set end filter on diagram