make some changes for ota