delete main package