Fix ota bug