Remove the unnecessary terminate