fix Core.ToStr
fix Core.Init