Fix poi creation