small fix for generated doodles and polygons
more fixes