Removal of main tag