add platform patch