rm deps on index dom