delete data in res