fix device bugs
change mbga lib
change mbga lib