delete plist code