apply framework patch