add core patch