Fixed: comparison in gadget search for gadgets with null character