add code to new core
fix error git