fix modLink without device (default to gw)