fix get associated devices