fix bug doctrine in editGadgetController
autoimport google maps when needed