remove deprecated poly directory inside static