fixed use chrome api to close current tab