FIX, new made in module should be deleted in the same module, so each plugin should provide function to free its memory