delete old document of base package