add reference frame to primitive filter