core various patches