[Jms]: Fixed an issue related to gadget installation