Fix bugs, can run now