deleteElemを美しく