fix device ready