fix standby patch file upload