remove tab at index