fix device save raise