bad case Prof.Sumii pointed
remove core
fix bugs