Compatibility fix for devices without flash