restored mozdevice to its original state