deleting promise