list-deleting bug fixed