Remove oldcore dependency for the patched version