timer:fix broken delete code