delete function tab