change function order
remove runCore