solve first item removal issue