delete tab in pre