adding key
fix data erase