moved terminate button