togeojson
main init
cleaning up
a problem is noticed
in case it isn't defined