Fix poly errors