name gets erased when edit