fix delete operation

Change-Id: Ia573830f0bf02dcd6dc7e7d6aeff7e617d58e52b