fix bug when extract items