remove tab and main activity