fix get network device when there is alias device