fixed type in PolyFill function

Just a small type fix in PolyFill method