add core patch(working too)