Remove keys when close result