remove old core.lua