update the target voltage format, fix some warnings