Fix delete main tag