[Jms]: Fixed uninstalling a gadget