delete apiの不具合修正