poly plugin fix