fix device popup menu