unify warning files and match core