Delete the main package in document