removing debug
fixes: tab remove bug, tab replace bug